<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" type="text/css" href="style.css">
    <script src="/echarts.js"></script>
    <style>
        h1{text-align: center;}
        .a1 {
            /* 弹性布局 让页面元素垂直+水平居中 */
            display: flex;
            /* 让一行中的元素平均分配宽度 */
            justify-content: space-around;
            align-items: center;
            /* 元素在一行放不下时自动换行 */
            flex-wrap: wrap;
            width: 100%;
            height: 100%;
        }
        #b1,#b2,#b3,#b4,#b5,#b6 {float:left;width:30%; height:250px; border:3px solid #bbccaa;text-align:center;margin:2px;padding:20px;}
    </style>
</head>
<body>
    <h1>饼图-沈林涛</h1>
    <div class="a1">
        <div id="b1"></div>
        <div id="b2"></div>
        <div id="b3"></div>
        <div id="b4"></div>
        <div id="b5"></div>
        <div id="b6"></div>
    </div>
</body>
<script src="./js/test2.js"></script>
</html>



